package com.elmcode.server.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    @ExcelProperty("id")
    private Integer id;
    @ExcelProperty("姓名")
    private String name;
    @ExcelProperty("生日")
    @DateTimeFormat("yyyy-MM-dd hh:mm:ss")
    private Date birthday;

}
